import React from 'react';

type Props = {
  dateCost: number;
  dateIncome: number;
}
const DateInfo: React.FC<Props> = (props) => {
  const {dateCost, dateIncome} = props;

  return (
    <div className="dateTotal">
      <div className="dateCost oneLine">{dateCost}</div>
      <div className="dateIncome oneLine">{dateIncome}</div>
    </div>
  );

};

export {DateInfo};